package com.liu.user.entity;


import lombok.Data;


import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by Administrator on 2019/8/15 0015.
 */
@Data
@Table(name = "boot_user")
@Entity
public class User implements Serializable {


    private static final long serialVersionUID = 5523680431738241239L;


    @Id
    private String id;

    private String loginName;

    private Date birth;

    private String password;

    private String cardId;

    private String mobile;

    private int state;


    private int fanscount;// 粉丝数

    private int followcount; //关注数




}
